package com.lingxu.api.ztb.mapper;

import com.lingxu.api.ztb.model.ZtbTrialresult;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lingxu.api.ztb.model.vo.ZtbBiddingnoticeVO;
import com.lingxu.api.ztb.model.vo.ZtbTrialresultVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;


import java.util.List;

/**
 * 详细评审结果表 Mapper接口
 *
 * @author admin
 * @since 2025-07-18
 */
@Mapper
public interface ZtbTrialresultMapper extends BaseMapper<ZtbTrialresult> {
    /**
     * 查询详细评审结果表
     *
     * @return
     */
    List<ZtbTrialresultVO> selectZtbTrialresultList(@Param("query") ZtbTrialresultVO vo);

    IPage<ZtbTrialresultVO> pageList(@Param("page") Page<ZtbTrialresultVO> page, @Param("query") ZtbTrialresultVO vo);

    List<ZtbTrialresultVO> getDataForExport(@Param("query") ZtbTrialresultVO vo);

    void createTempTable(@Param("batchFlag")String batchFlag);
    void insertTempTable(@Param("list") List<ZtbTrialresultVO> dataList, @Param("batchFlag")String batchFlag);
    void insertTable(@Param("batchFlag")String batchFlag);
    void dropTempTable(@Param("batchFlag")String batchFlag);

    List<ZtbTrialresultVO> listZtbTrialresult(@Param("query") ZtbBiddingnoticeVO query);

    Page<ZtbTrialresultVO> ztblistZtbTrialresult(@Param("page") Page<ZtbTrialresultVO> page,@Param("query")ZtbBiddingnoticeVO query);
}
